import styled from "styled-components";

const Wapper = styled.div`
    .pr16 {
        padding-right: 16px;
    }

    .mr8 {
        margin-right: 8px;
        cursor: pointer;
    }

    h1 {
        margin: 0;
    }

    .main {
        width: 1224px;
        margin: auto;
        position: relative;
        top: 76px;
    }


    .header-layout {
        position: relative;
        background: #e8f0ff;
        border-radius: 8px 8px 0 0;
        height: 200px;
    }

    .header-layout > img {
        border-radius: 8px 8px 0 0;
        width: 1224px;
        height: 200px;
        background-color: #3367d5;
    }

    .header-top {
        position: absolute;
        width: 1224px;
        height: 200px;
        left: 0;
        top: 0;
        padding: 24px;
        color: #fff;
        display: flex;
        justify-content: space-between;
    }

    .header-top .left .bottom {
        margin-top: 55px;
    }

    .header-top .bottom .code {
        width: 16px;
        height: 16px;
    }

    .right .top .code {
        width: 16px;
        height: 16px;
    }

    .right .bottom {
        position: absolute;
        right: 24px;
        bottom: 24px;
    }

    .right .bottom .item {
        cursor: pointer;
        margin-right: 20px;
    }

    .right .bottom button {
        display: flex;
        align-items: center;
        height: 37px;
        color: #ff6000;
        margin-left: 24px;
        min-width: 120px;
        border-radius: 20px;
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
        cursor: pointer;
        background: #fff;
        border: 1px solid #dadce0;
        text-align: center;
        box-sizing: border-box;
        outline: 0;
        margin: 0;
        transition: 0.1s;
        font-weight: 500;
    }

    .header-bottom {
        width: 1224px;
        height: 64px;
        color: #3c4043;
        font-size: 14px;
        font-weight: 400;
        justify-content: center;
        background: #fff;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    }

    .header-bottom .bar-selected {
        background: #e8f0ff;
        color: #4285f4;
        border-radius: 10px;
    }

    .header-bottom .bar-item {
        cursor: pointer;
        height: 40px;
        line-height: 40px;
        margin: 0 24px;
        text-align: center;
        font-size: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .component-layout {
        margin: 10px 0 0 0;
        width: 1224px;
        min-height: 500px;
    }

    .img-line {
        display: flex;
        flex-wrap: wrap;
        width: 1054px;
        height: 400px;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .img-line::-webkit-scrollbar {
        display: none;
    }

    .img-line .img-item {
        align-self: flex-start;
        padding: 3px;
        border: 2px solid transparent;
        position: relative;
    }

    .img-line .active {
        border-color: #4285f4;
    }

    .img-line .active:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        border: 17px solid #4285f4;
        border-bottom-color: transparent;
        border-right-color: transparent;
    }

    .img-line .active:after {
        content: '';
        width: 5px;
        height: 12px;
        position: absolute;
        left: 6px;
        top: 1px;
        border: 2px solid #fff;
        border-bottom-color: transparent;
        border-right-color: transparent;
        transform: rotate(-134deg);
    }


    .course-img-modal .img-item img {
        display: block;
        width: 517px;
        height: 84px;
    }
`;
export default Wapper;
